package com.hotel.reservation.service;



import com.hotel.reservation.po.Message;
import com.hotel.reservation.po.Reserve;
import com.hotel.reservation.po.User;
import org.springframework.ui.Model;
import javax.servlet.http.HttpSession;
import java.util.List;
import java.util.Map;


public interface UserService {
    List<User> login (User user);
    int register (User user);
    List<User> findOneUser(String tel);
    List<User> findOneUserById(int id);
    List<Message> findUserMessage(int id);
    List<Reserve> findUserReserve(int id);
    List<User> selectAllUserByPage(Map map);
    int updateUser(User user);
    int deleteUser(String tel);

}
